package com.situ.web.pojo.query;

public class UserQuery {
    private Integer page;
    private Integer limit;
    private String name;
    private String password;

    public UserQuery() {
    }

    public UserQuery(Integer page, Integer limit, String name, String password) {
        this.page = page;
        this.limit = limit;
        this.name = name;
        this.password = password;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserQuery{" +
                "page=" + page +
                ", limit=" + limit +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
